package cn.it.shop.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;

import cn.it.shop.service.AudienceService;
import cn.it.shop.service.TemplateMessageService;
import cn.it.shop.service.flow.FlowItemService;
import cn.it.shop.service.flow.FlowParameterService;
import cn.it.shop.service.flow.FlowReplyService;
import cn.it.shop.wechat.dispatcher.EventDispatcher;
import cn.it.shop.wechat.dispatcher.MsgDispatcher;

/**
 * ClassName: BaseController
 * 
 * @Description: 基本控制层,封装些所有controller都要用的对象
 * @author
 * @date
 */
@Controller
public class BaseController {
	
		//粉丝service
		@Resource
		protected AudienceService audienceService;
		
		//消息模板serivce
		@Resource
		protected TemplateMessageService templateMessageService;
		
		//流程主体主体service
		@Resource
		protected FlowReplyService flowReplyService;
		
		//流程后续推送service
		@Resource
		protected FlowItemService flowItemService;
		
		//流程图文service
		@Resource
		protected FlowParameterService flowParameterService;

		
		
		//-------------工具类-------------
		
		//事件分发器
		@Resource
		protected EventDispatcher eventDispatcher;
		
		//消息分发器
		@Resource
		protected MsgDispatcher msgDispatcher;
		
}
